package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报查询与导出记录对象 dispatchReportQueryExportRecords
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchReportQueryExportRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报表查询与导出记录编号 */
    private Long reportQueryExportRecordsId;

    /** 报表类型 */
    @Excel(name = "报表类型")
    private Integer reportType;

    /** 查询的起始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "查询的起始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date queryStartTime;

    /** 查询的结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "查询的结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date queryEndTime;

    /** 报表导出的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报表导出的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date exportTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 执行查询或导出操作的用户 ID */
    @Excel(name = "执行查询或导出操作的用户 ID")
    private Long userId;

    public void setReportQueryExportRecordsId(Long reportQueryExportRecordsId) 
    {
        this.reportQueryExportRecordsId = reportQueryExportRecordsId;
    }

    public Long getReportQueryExportRecordsId() 
    {
        return reportQueryExportRecordsId;
    }
    public void setReportType(Integer reportType) 
    {
        this.reportType = reportType;
    }

    public Integer getReportType() 
    {
        return reportType;
    }
    public void setQueryStartTime(Date queryStartTime) 
    {
        this.queryStartTime = queryStartTime;
    }

    public Date getQueryStartTime() 
    {
        return queryStartTime;
    }
    public void setQueryEndTime(Date queryEndTime) 
    {
        this.queryEndTime = queryEndTime;
    }

    public Date getQueryEndTime() 
    {
        return queryEndTime;
    }
    public void setExportTime(Date exportTime) 
    {
        this.exportTime = exportTime;
    }

    public Date getExportTime() 
    {
        return exportTime;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reportQueryExportRecordsId", getReportQueryExportRecordsId())
            .append("reportType", getReportType())
            .append("queryStartTime", getQueryStartTime())
            .append("queryEndTime", getQueryEndTime())
            .append("exportTime", getExportTime())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .toString();
    }
}
